package org.komarichin.beans;

/**
 * description of language entry
 * User: Mykhaylo Komarichyn
 * Date: 03.02.2010
 * Time: 12:33:19
 */
public interface ILanguage<PK> extends IGenericEntity<PK> {
    /**
     * @return language identifier
     */
    PK getId();

    /**
     * @param id language identifier
     */
    void setId(PK id);

    /**
     * @return iso code for language as en, es, ru etc
     */
    String getIsoName();

    /**
     * @param isoName iso code for language as en, es, ru etc
     */
    void setIsoName(String isoName);
}
